package com.tc.common.model.enums;


import com.tc.common.model.BaseEnum;

/**
 * @Description: 性别
 * @Auther: HeJiawang
 * @Date: 2019/3/17
 */
public enum SexEnum implements BaseEnum {

    Man(1, "男"),
    Woman(0, "女"),
    Other(2, "其他");

    private Integer value;
    private String desc;

    SexEnum(final Integer value, final String desc) {
        this.value = value;
        this.desc = desc;
    }

    public Integer getValue() {
        return this.value;
    }

    @Override
    public String getDesc(){
        return this.desc;
    }
}
